home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: AMOS Basic Source Code Archive
(archive/amosSrc).
You can browse this item here: VecRotWireMirror.AMOS
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 4d 4f 53 20 42 61 73 | 69 63 20 76 31 33 34 20 |AMOS Bas|ic v134 |
|00000010| 00 00 11 56 1f 01 06 52 | 00 36 20 2a 2a 2a 2a 2a |...V...R|.6 *****|
|00000020| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000030| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000040| 20 43 6f 6d 6d 61 6e 64 | 73 20 75 73 65 64 3a 20 | Command|s used: |
|00000050| 00 00 26 01 06 52 00 44 | 20 2a 20 20 20 20 20 20 |..&..R.D| * |
|00000060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 20 56 | | * V|
|00000080| 65 63 20 52 6f 74 20 50 | 6f 73 20 20 20 20 20 20 |ec Rot P|os |
|00000090| 20 20 54 75 72 62 6f 20 | 44 72 61 77 00 00 28 01 | Turbo |Draw..(.|
|000000a0| 06 52 00 48 20 2a 20 20 | 20 20 20 20 20 20 20 20 |.R.H * | |
|000000b0| 20 41 6d 63 61 66 20 45 | 78 61 6d 70 6c 65 73 20 | Amcaf E|xamples |
|000000c0| 20 20 20 20 20 20 20 20 | 20 2a 20 56 65 63 20 52 | | * Vec R|
|000000d0| 6f 74 20 41 6e 67 6c 65 | 73 20 20 20 20 20 42 6c |ot Angle|s Bl|
|000000e0| 69 74 74 65 72 20 43 6c | 65 61 72 20 00 00 24 01 |itter Cl|ear ..$.|
|000000f0| 06 52 00 40 20 2a 20 56 | 65 63 74 6f 72 20 52 6f |.R.@ * V|ector Ro|
|00000100| 74 61 74 65 20 57 69 72 | 65 20 2b 20 4d 69 72 72 |tate Wir|e + Mirr|
|00000110| 6f 72 20 56 31 2e 31 20 | 20 2a 20 56 65 63 20 52 |or V1.1 | * Vec R|
|00000120| 6f 74 20 50 72 65 63 61 | 6c 63 20 20 20 20 3d 51 |ot Preca|lc =Q|
|00000130| 73 69 6e 20 00 00 29 01 | 06 52 00 4a 20 2a 20 20 |sin ..).|.R.J * |
|00000140| 20 20 20 20 57 72 69 74 | 74 65 6e 20 62 79 20 43 | Writ|ten by C|
|00000150| 68 72 69 73 20 48 6f 64 | 67 65 73 20 20 20 20 20 |hris Hod|ges |
|00000160| 20 2a 20 3d 56 65 63 20 | 52 6f 74 20 58 20 20 20 | * =Vec |Rot X |
|00000170| 20 20 20 20 20 20 53 65 | 74 20 52 61 69 6e 20 43 | Se|t Rain C|
|00000180| 6f 6c 6f 75 72 20 00 00 | 1d 01 06 52 00 32 20 2a |olour ..|...R.2 *|
|00000190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001b0| 20 20 20 2a 20 3d 56 65 | 63 20 52 6f 74 20 59 20 | * =Ve|c Rot Y |
|000001c0| 00 00 1d 01 06 52 00 32 | 20 2a 2a 2a 2a 2a 2a 2a |.....R.2| *******|
|000001d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 20 3d |********|****** =|
|000001f0| 56 65 63 20 52 6f 74 20 | 5a 20 00 00 11 01 06 52 |Vec Rot |Z .....R|
|00000200| 00 1a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00000210| 20 20 20 20 20 20 20 20 | 20 20 20 20 00 00 11 01 | | ....|
|00000220| 06 52 00 1a 20 52 65 6d | 6f 76 65 20 74 68 65 20 |.R.. Rem|ove the |
|00000230| 6d 6f 75 73 65 20 70 6f | 69 6e 74 65 72 20 00 00 |mouse po|inter ..|
|00000240| 03 01 1d e0 00 00 23 01 | 06 52 00 3e 20 53 65 74 |......#.|.R.> Set|
|00000250| 75 70 20 61 20 6e 69 63 | 65 20 6c 69 74 74 6c 65 |up a nic|e little|
|00000260| 20 32 20 63 6f 6c 6f 75 | 72 73 20 73 63 72 65 65 | 2 colou|rs scree|
|00000270| 6e 20 77 69 74 68 20 64 | 6f 75 62 6c 65 20 62 75 |n with d|ouble bu|
|00000280| 66 66 65 72 69 6e 67 2e | 20 20 00 00 14 01 09 ea |ffering.| ......|
|00000290| 00 3e 00 00 00 00 00 5c | 00 3e 00 00 01 40 00 5c |.>.....\|.>...@.\|
|000002a0| 00 3e 00 00 01 00 00 5c | 00 3e 00 00 00 02 00 5c |.>.....\|.>.....\|
|000002b0| 0c 90 00 00 11 01 14 46 | 00 54 0d 34 00 54 13 dc |.......F|.T.4.T..|
|000002c0| 00 3e 00 00 00 00 00 54 | 13 d2 00 3e 00 00 00 01 |.>.....T|...>....|
|000002d0| 00 54 0b ae 00 00 0a 01 | 0c fc 00 3e 00 00 00 00 |.T......|...>....|
|000002e0| 00 5c 00 36 00 00 0f ff | 00 00 03 01 01 2c 00 00 |.\.6....|.....,..|
|000002f0| 06 01 0e 2c 00 3e 00 00 | 00 00 00 00 20 01 06 52 |...,.>..|.... ..R|
|00000300| 00 38 20 53 65 74 20 75 | 70 20 74 68 65 20 72 61 |.8 Set u|p the ra|
|00000310| 69 6e 62 6f 77 2c 20 77 | 68 69 63 68 20 69 73 20 |inbow, w|hich is |
|00000320| 75 73 65 64 20 74 6f 20 | 63 72 65 61 74 65 20 74 |used to |create t|
|00000330| 68 65 20 6d 69 72 72 6f | 72 2e 00 00 17 01 0d 90 |he mirro|r.......|
|00000340| 00 3e 00 00 00 00 00 5c | 00 3e 00 00 00 01 00 5c |.>.....\|.>.....\|
|00000350| 00 3e 00 00 00 10 00 5c | 00 26 00 00 00 5c 00 26 |.>.....\|.&...\.&|
|00000360| 00 00 00 5c 00 26 00 00 | 00 00 25 01 06 52 00 42 |...\.&..|..%..R.B|
|00000370| 20 54 72 69 63 6b 20 74 | 6f 20 6d 6f 64 69 66 79 | Trick t|o modify|
|00000380| 20 74 68 65 20 6d 6f 64 | 75 6c 6f 20 72 65 67 69 | the mod|ulo regi|
|00000390| 73 74 65 72 20 69 6e 73 | 74 65 61 64 20 6f 66 20 |ster ins|tead of |
|000003a0| 61 20 63 6f 6c 6f 75 72 | 20 72 65 67 69 73 74 65 |a colour| registe|
|000003b0| 72 2e 00 00 16 01 00 4e | 08 00 13 30 00 3e 00 00 |r......N|...0.>..|
|000003c0| 00 00 00 5c 00 74 00 36 | 00 00 01 08 ff ca 00 36 |...\.t.6|.......6|
|000003d0| 00 00 01 80 00 7c ff ec | 00 3e 00 00 00 02 00 00 |.....|..|.>......|
|000003e0| 11 01 06 52 00 1a 20 46 | 69 6c 6c 20 69 6e 20 73 |...R.. F|ill in s|
|000003f0| 6f 6d 65 20 73 69 6e 65 | 20 76 61 6c 75 65 73 2e |ome sine| values.|
|00000400| 00 00 10 01 02 3c 00 00 | 00 06 00 00 02 00 61 00 |.....<..|......a.|
|00000410| ff a2 00 3e 00 00 00 00 | 00 94 00 3e 00 00 00 0f |...>....|...>....|
|00000420| 00 00 1c 03 0d f0 00 74 | 00 3e 00 00 00 00 00 5c |.......t|.>.....\|
|00000430| 00 06 00 00 02 00 61 00 | 00 7c ff a2 00 74 00 3e |......a.|.|...t.>|
|00000440| 00 00 01 40 ff e2 ff ca | 00 3e 00 00 00 03 00 7c |...@....|.>.....||
|00000450| ff ec 00 3e 00 00 00 08 | 00 00 03 01 02 46 00 00 |...>....|.....F..|
|00000460| 16 01 06 52 00 24 20 52 | 65 61 64 20 6f 75 74 2c |...R.$ R|ead out,|
|00000470| 20 68 6f 77 20 6d 61 6e | 79 20 63 6f 6f 72 64 73 | how man|y coords|
|00000480| 20 61 72 65 20 75 73 65 | 64 2e 00 00 09 01 04 18 | are use|d.......|
|00000490| 00 06 00 00 06 00 63 6f | 6f 72 64 73 00 00 09 01 |......co|ords....|
|000004a0| 04 0e 00 06 00 00 06 00 | 6e 75 6d 63 6f 00 00 00 |........|numco...|
|000004b0| 25 01 06 52 00 42 20 44 | 69 6d 20 6f 6e 65 20 66 |%..R.B D|im one f|
|000004c0| 69 65 6c 64 20 74 6f 20 | 6b 65 65 70 20 74 68 65 |ield to |keep the|
|000004d0| 73 65 20 63 6f 6f 72 64 | 73 2c 20 61 6e 64 20 61 |se coord|s, and a|
|000004e0| 20 73 65 63 6f 6e 64 20 | 66 6f 72 20 74 68 65 20 | second |for the |
|000004f0| 72 6f 74 61 74 65 64 2e | 00 00 24 01 06 40 00 06 |rotated.|..$..@..|
|00000500| 00 00 02 00 63 6f 00 74 | 00 06 00 00 06 00 6e 75 |....co.t|......nu|
|00000510| 6d 63 6f 00 00 5c 00 3e | 00 00 00 02 00 7c 00 5c |mco..\.>|.....|.\|
|00000520| 00 06 00 00 02 00 72 63 | 00 74 00 06 00 00 06 00 |......rc|.t......|
|00000530| 6e 75 6d 63 6f 00 00 5c | 00 3e 00 00 00 01 00 7c |numco..\|.>.....||
|00000540| 00 00 10 01 06 52 00 18 | 20 4e 6f 77 20 72 65 61 |.....R..| Now rea|
|00000550| 64 20 61 6c 6c 20 63 6f | 6f 72 64 73 20 69 6e 2e |d all co|ords in.|
|00000560| 00 00 13 01 02 3c 00 00 | 00 06 00 00 02 00 61 00 |.....<..|......a.|
|00000570| ff a2 00 3e 00 00 00 01 | 00 94 00 06 00 00 06 00 |...>....|........|
|00000580| 6e 75 6d 63 6f 00 00 00 | 2f 03 04 0e 00 06 00 00 |numco...|/.......|
|00000590| 02 00 63 6f 00 74 00 06 | 00 00 02 00 61 00 00 5c |..co.t..|....a..\|
|000005a0| 00 3e 00 00 00 00 00 7c | 00 5c 00 06 00 00 02 00 |.>.....||.\......|
|000005b0| 63 6f 00 74 00 06 00 00 | 02 00 61 00 00 5c 00 3e |co.t....|..a..\.>|
|000005c0| 00 00 00 01 00 7c 00 5c | 00 06 00 00 02 00 63 6f |.....|.\|......co|
|000005d0| 00 74 00 06 00 00 02 00 | 61 00 00 5c 00 3e 00 00 |.t......|a..\.>..|
|000005e0| 00 02 00 7c 00 00 03 01 | 02 46 00 00 1f 01 06 52 |...|....|.F.....R|
|000005f0| 00 36 20 54 68 65 6e 2c | 20 67 65 74 20 74 68 65 |.6 Then,| get the|
|00000600| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00000610| 20 74 68 65 20 6f 62 6a | 65 63 74 20 63 6f 6e 73 | the obj|ect cons|
|00000620| 69 73 74 73 20 6f 66 2e | 00 00 09 01 04 18 00 06 |ists of.|........|
|00000630| 00 00 06 00 6c 69 6e 65 | 73 00 00 00 09 01 04 0e |....line|s.......|
|00000640| 00 06 00 00 06 00 6e 75 | 6d 6c 69 00 00 00 1f 01 |......nu|mli.....|
|00000650| 06 52 00 36 20 44 69 6d | 20 61 20 66 69 65 6c 64 |.R.6 Dim| a field|
|00000660| 20 74 6f 20 68 6f 6c 64 | 20 74 68 65 20 73 74 61 | to hold| the sta|
|00000670| 72 74 63 6f 6f 72 64 20 | 61 6e 64 20 74 68 65 20 |rtcoord |and the |
|00000680| 65 6e 64 63 6f 6f 72 64 | 2e 20 00 00 13 01 06 40 |endcoord|. .....@|
|00000690| 00 06 00 00 02 00 6c 69 | 00 74 00 06 00 00 06 00 |......li|.t......|
|000006a0| 6e 75 6d 6c 69 00 00 5c | 00 3e 00 00 00 01 00 7c |numli..\|.>.....||
|000006b0| 00 00 0c 01 06 52 00 10 | 20 47 65 74 20 74 68 65 |.....R..| Get the|
|000006c0| 20 64 61 74 61 73 2e 20 | 00 00 13 01 02 3c 00 00 | datas. |.....<..|
|000006d0| 00 06 00 00 02 00 61 00 | ff a2 00 3e 00 00 00 01 |......a.|...>....|
|000006e0| 00 94 00 06 00 00 06 00 | 6e 75 6d 6c 69 00 00 00 |........|numli...|
|000006f0| 20 03 04 0e 00 06 00 00 | 02 00 6c 69 00 74 00 06 | .......|..li.t..|
|00000700| 00 00 02 00 61 00 00 5c | 00 3e 00 00 00 00 00 7c |....a..\|.>.....||
|00000710| 00 5c 00 06 00 00 02 00 | 6c 69 00 74 00 06 00 00 |.\......|li.t....|
|00000720| 02 00 61 00 00 5c 00 3e | 00 00 00 01 00 7c 00 00 |..a..\.>|.....|..|
|00000730| 03 01 02 46 00 00 26 01 | 06 52 00 44 20 53 65 74 |...F..&.|.R.D Set|
|00000740| 20 74 68 65 20 74 68 72 | 65 65 20 61 6e 67 6c 65 | the thr|ee angle|
|00000750| 73 2e 20 52 65 6d 65 6d | 62 65 72 20 74 68 61 74 |s. Remem|ber that|
|00000760| 20 74 68 65 73 65 20 61 | 72 65 20 6e 6f 6e 20 73 | these a|re non s|
|00000770| 74 61 6e 64 61 72 64 20 | 61 6e 67 6c 65 73 2c 20 |tandard |angles, |
|00000780| 00 00 18 01 06 52 00 28 | 20 6f 6e 65 20 66 75 6c |.....R.(| one ful|
|00000790| 6c 20 72 6f 74 61 74 69 | 6f 6e 20 69 73 20 61 74 |l rotati|on is at|
|000007a0| 20 31 30 32 34 2c 20 6e | 6f 74 20 33 36 30 21 20 | 1024, n|ot 360! |
|000007b0| 00 00 1c 01 00 06 00 00 | 02 00 61 78 ff a2 00 3e |........|..ax...>|
|000007c0| 00 00 00 00 00 54 00 06 | 00 00 02 00 61 79 ff a2 |.....T..|....ay..|
|000007d0| 00 3e 00 00 02 00 00 54 | 00 06 00 00 02 00 61 7a |.>.....T|......az|
|000007e0| ff a2 00 3e 00 00 00 80 | 00 00 04 01 02 50 00 00 |...>....|.....P..|
|000007f0| 00 00 0d 03 06 52 00 12 | 20 50 6c 61 63 65 20 74 |.....R..| Place t|
|00000800| 68 65 20 6d 69 72 72 6f | 72 20 00 00 15 03 0d dc |he mirro|r ......|
|00000810| 00 3e 00 00 00 00 00 5c | 00 3e 00 00 00 00 00 5c |.>.....\|.>.....\|
|00000820| 0c 06 00 74 00 3e 00 00 | 00 b8 00 7c 00 5c 00 3e |...t.>..|...|.\.>|
|00000830| 00 00 01 03 00 00 0d 03 | 06 52 00 12 20 43 6c 65 |........|.R.. Cle|
|00000840| 61 72 20 74 68 65 20 73 | 63 72 65 65 6e 2e 00 00 |ar the s|creen...|
|00000850| 0c 03 00 4e 08 00 12 1c | 00 3e 00 00 00 00 00 5c |...N....|.>.....\|
|00000860| 00 3e 00 00 00 00 00 00 | 28 03 06 52 00 48 20 57 |.>......|(..R.H W|
|00000870| 68 69 6c 65 20 74 68 65 | 20 62 6c 69 74 74 65 72 |hile the| blitter|
|00000880| 20 69 73 20 77 6f 72 6b | 69 6e 67 2c 20 75 73 65 | is work|ing, use|
|00000890| 20 74 68 65 20 74 69 6d | 65 20 74 6f 20 63 61 6c | the tim|e to cal|
|000008a0| 63 75 6c 61 74 65 20 74 | 68 65 20 72 6f 74 61 74 |culate t|he rotat|
|000008b0| 69 6f 6e 73 2e 20 00 00 | 11 03 06 52 00 1a 20 4d |ions. ..|...R.. M|
|000008c0| 6f 76 65 20 61 6e 64 20 | 73 65 74 20 74 68 65 20 |ove and |set the |
|000008d0| 61 6e 67 6c 65 73 2e 20 | 00 00 0b 03 04 58 00 06 |angles. |.....X..|
|000008e0| 00 00 02 00 61 78 00 5c | 00 3e 00 00 00 05 00 00 |....ax.\|.>......|
|000008f0| 0b 03 04 58 00 06 00 00 | 02 00 61 79 00 5c 00 3e |...X....|..ay.\.>|
|00000900| 00 00 00 08 00 00 0b 03 | 04 58 00 06 00 00 02 00 |........|.X......|
|00000910| 61 7a 00 5c 00 3e 00 00 | 00 09 00 00 13 03 00 4e |az.\.>..|.......N|
|00000920| 08 00 11 38 00 06 00 00 | 02 00 61 78 00 5c 00 06 |...8....|..ax.\..|
|00000930| 00 00 02 00 61 79 00 5c | 00 06 00 00 02 00 61 7a |....ay.\|......az|
|00000940| 00 00 28 03 06 52 00 48 | 20 43 61 6c 63 75 6c 61 |..(..R.H| Calcula|
|00000950| 74 65 20 74 68 65 20 64 | 69 73 74 61 6e 63 65 73 |te the d|istances|
|00000960| 20 62 79 20 75 73 69 6e | 67 20 61 20 73 69 6e 65 | by usin|g a sine|
|00000970| 2d 66 75 6e 63 74 69 6f | 6e 20 61 6e 64 20 74 68 |-functio|n and th|
|00000980| 65 20 74 68 72 65 65 20 | 61 6e 67 6c 65 73 2e 20 |e three |angles. |
|00000990| 00 00 15 03 00 06 00 00 | 04 00 70 6f 73 78 ff a2 |........|..posx..|
|000009a0| 00 4e 08 00 11 06 00 74 | 00 06 00 00 02 00 61 78 |.N.....t|......ax|
|000009b0| 00 5c 00 3e 00 00 01 2c | 00 7c 00 00 15 03 00 06 |.\.>...,|.|......|
|000009c0| 00 00 04 00 70 6f 73 79 | ff a2 00 4e 08 00 11 06 |....posy|...N....|
|000009d0| 00 74 00 06 00 00 02 00 | 61 79 00 5c 00 3e 00 00 |.t......|ay.\.>..|
|000009e0| 01 2c 00 7c 00 00 19 03 | 00 06 00 00 04 00 70 6f |.,.|....|......po|
|000009f0| 73 7a ff a2 00 4e 08 00 | 11 06 00 74 00 06 00 00 |sz...N..|...t....|
|00000a00| 02 00 61 7a 00 5c 00 3e | 00 00 00 fa 00 7c ff c0 |..az.\.>|.....|..|
|00000a10| 00 3e 00 00 03 e8 00 00 | 11 03 06 52 00 1a 20 53 |.>......|...R.. S|
|00000a20| 65 74 20 74 68 65 20 63 | 61 6d 65 72 61 20 70 6f |et the c|amera po|
|00000a30| 73 69 74 69 6f 6e 73 2e | 00 00 16 03 00 4e 08 00 |sitions.|.....N..|
|00000a40| 11 22 00 06 00 00 04 00 | 70 6f 73 78 00 5c 00 06 |."......|posx.\..|
|00000a50| 00 00 04 00 70 6f 73 79 | 00 5c 00 06 00 00 04 00 |....posy|.\......|
|00000a60| 70 6f 73 7a 00 00 17 03 | 06 52 00 26 20 4e 6f 77 |posz....|.R.& Now|
|00000a70| 20 69 74 27 73 20 74 69 | 6d 65 20 74 6f 20 63 6f | it's ti|me to co|
|00000a80| 6d 70 75 74 65 20 74 68 | 65 20 6d 61 74 72 69 78 |mpute th|e matrix|
|00000a90| 2e 20 00 00 05 03 00 4e | 08 00 11 52 00 00 1d 03 |. .....N|...R....|
|00000aa0| 06 52 00 32 20 53 6f 20 | 6c 65 74 27 73 20 72 6f |.R.2 So |let's ro|
|00000ab0| 74 61 74 65 20 61 6c 6c | 20 63 6f 6f 72 64 69 6e |tate all| coordin|
|00000ac0| 61 74 65 73 20 6f 66 20 | 74 68 65 20 66 69 65 6c |ates of |the fiel|
|00000ad0| 64 20 43 4f 28 29 00 00 | 13 03 02 3c 00 00 00 06 |d CO()..|...<....|
|00000ae0| 00 00 02 00 61 00 ff a2 | 00 3e 00 00 00 01 00 94 |....a...|.>......|
|00000af0| 00 06 00 00 06 00 6e 75 | 6d 63 6f 00 00 00 27 05 |......nu|mco...'.|
|00000b00| 06 52 00 46 20 4e 6f 74 | 65 3a 20 59 6f 75 20 6f |.R.F Not|e: You o|
|00000b10| 6e 6c 79 20 68 61 76 65 | 20 74 6f 20 75 73 65 20 |nly have| to use |
|00000b20| 74 68 65 20 76 65 63 20 | 72 6f 74 20 66 75 6e 63 |the vec |rot func|
|00000b30| 74 69 6f 6e 20 77 69 74 | 68 20 70 61 72 61 6d 65 |tion wit|h parame|
|00000b40| 74 65 72 73 20 6f 6e 63 | 65 2e 00 00 46 05 00 06 |ters onc|e...F...|
|00000b50| 00 00 02 00 72 63 00 74 | 00 06 00 00 02 00 61 00 |....rc.t|......a.|
|00000b60| 00 5c 00 3e 00 00 00 00 | 00 7c ff a2 00 4e 08 00 |.\.>....|.|...N..|
|00000b70| 11 68 00 74 00 06 00 00 | 02 00 63 6f 00 74 00 06 |.h.t....|..co.t..|
|00000b80| 00 00 02 00 61 00 00 5c | 00 3e 00 00 00 00 00 7c |....a..\|.>.....||
|00000b90| 00 5c 00 06 00 00 02 00 | 63 6f 00 74 00 06 00 00 |.\......|co.t....|
|00000ba0| 02 00 61 00 00 5c 00 3e | 00 00 00 01 00 7c 00 5c |..a..\.>|.....|.\|
|00000bb0| 00 06 00 00 02 00 63 6f | 00 74 00 06 00 00 02 00 |......co|.t......|
|00000bc0| 61 00 00 5c 00 3e 00 00 | 00 02 00 7c 00 7c ff c0 |a..\.>..|...|.|..|
|00000bd0| 00 3e 00 00 00 a0 00 00 | 18 05 00 06 00 00 02 00 |.>......|........|
|00000be0| 72 63 00 74 00 06 00 00 | 02 00 61 00 00 5c 00 3e |rc.t....|..a..\.>|
|00000bf0| 00 00 00 01 00 7c ff a2 | 00 4e 08 00 11 84 ff c0 |.....|..|.N......|
|00000c00| 00 3e 00 00 00 80 00 00 | 03 03 02 46 00 00 1d 03 |.>......|...F....|
|00000c10| 06 52 00 32 20 49 74 27 | 73 20 74 69 6d 65 20 74 |.R.2 It'|s time t|
|00000c20| 6f 20 66 69 6e 61 6c 6c | 79 20 67 65 74 20 74 68 |o finall|y get th|
|00000c30| 65 20 6c 69 6e 65 73 20 | 74 6f 20 74 68 65 20 73 |e lines |to the s|
|00000c40| 63 72 65 65 6e 21 00 00 | 13 03 02 3c 00 00 00 06 |creen!..|...<....|
|00000c50| 00 00 02 00 61 00 ff a2 | 00 3e 00 00 00 01 00 94 |....a...|.>......|
|00000c60| 00 06 00 00 06 00 6e 75 | 6d 6c 69 00 00 00 12 05 |......nu|mli.....|
|00000c70| 06 52 00 1c 20 53 74 61 | 72 74 69 6e 67 20 63 6f |.R.. Sta|rting co|
|00000c80| 6f 72 64 69 6e 61 74 65 | 73 20 70 61 69 72 2e 20 |ordinate|s pair. |
|00000c90| 00 00 15 05 00 06 00 00 | 02 00 63 31 ff a2 00 06 |........|..c1....|
|00000ca0| 00 00 02 00 6c 69 00 74 | 00 06 00 00 02 00 61 00 |....li.t|......a.|
|00000cb0| 00 5c 00 3e 00 00 00 00 | 00 7c 00 00 11 05 06 52 |.\.>....|.|.....R|
|00000cc0| 00 1a 20 45 6e 64 69 6e | 67 20 63 6f 6f 72 64 69 |.. Endin|g coordi|
|00000cd0| 6e 61 74 65 73 20 70 61 | 69 72 2e 20 00 00 15 05 |nates pa|ir. ....|
|00000ce0| 00 06 00 00 02 00 63 32 | ff a2 00 06 00 00 02 00 |......c2|........|
|00000cf0| 6c 69 00 74 00 06 00 00 | 02 00 61 00 00 5c 00 3e |li.t....|..a..\.>|
|00000d00| 00 00 00 01 00 7c 00 00 | 12 05 06 52 00 1c 20 47 |.....|..|...R.. G|
|00000d10| 65 74 20 74 68 65 20 72 | 6f 74 61 74 65 64 20 63 |et the r|otated c|
|00000d20| 6f 6f 72 64 69 6e 61 74 | 65 73 00 00 29 05 00 06 |oordinat|es..)...|
|00000d30| 00 00 02 00 78 31 ff a2 | 00 06 00 00 02 00 72 63 |....x1..|......rc|
|00000d40| 00 74 00 06 00 00 02 00 | 63 31 00 5c 00 3e 00 00 |.t......|c1.\.>..|
|00000d50| 00 00 00 7c 00 54 00 06 | 00 00 02 00 79 31 ff a2 |...|.T..|....y1..|
|00000d60| 00 06 00 00 02 00 72 63 | 00 74 00 06 00 00 02 00 |......rc|.t......|
|00000d70| 63 31 00 5c 00 3e 00 00 | 00 01 00 7c 00 00 29 05 |c1.\.>..|...|..).|
|00000d80| 00 06 00 00 02 00 78 32 | ff a2 00 06 00 00 02 00 |......x2|........|
|00000d90| 72 63 00 74 00 06 00 00 | 02 00 63 32 00 5c 00 3e |rc.t....|..c2.\.>|
|00000da0| 00 00 00 00 00 7c 00 54 | 00 06 00 00 02 00 79 32 |.....|.T|......y2|
|00000db0| ff a2 00 06 00 00 02 00 | 72 63 00 74 00 06 00 00 |........|rc.t....|
|00000dc0| 02 00 63 32 00 5c 00 3e | 00 00 00 01 00 7c 00 00 |..c2.\.>|.....|..|
|00000dd0| 1c 05 00 4e 08 00 10 16 | 00 06 00 00 02 00 78 31 |...N....|......x1|
|00000de0| 00 5c 00 06 00 00 02 00 | 79 31 00 94 00 06 00 00 |.\......|y1......|
|00000df0| 02 00 78 32 00 5c 00 06 | 00 00 02 00 79 32 00 5c |..x2.\..|....y2.\|
|00000e00| 00 3e 00 00 00 01 00 00 | 03 03 02 46 00 00 1b 03 |.>......|...F....|
|00000e10| 06 52 00 2e 20 53 77 61 | 70 20 74 68 65 20 73 63 |.R.. Swa|p the sc|
|00000e20| 72 65 65 6e 73 20 74 6f | 20 62 72 69 6e 67 20 74 |reens to| bring t|
|00000e30| 68 65 20 6f 62 6a 65 63 | 74 20 74 6f 20 76 69 65 |he objec|t to vie|
|00000e40| 77 2e 00 00 03 03 0a e2 | 00 00 03 03 0c ca 00 00 |w.......|........|
|00000e50| 11 01 02 5c 00 f2 ff a2 | 05 52 00 74 00 3e 00 00 |...\....|.R.t.>..|
|00000e60| 00 1b 00 7c ff 4c 1e 32 | ff 66 00 3e 00 00 00 00 |...|.L.2|.f.>....|
|00000e70| 00 00 06 01 0a 04 00 3e | 00 00 00 00 00 00 07 01 |.......>|........|
|00000e80| 0d c2 00 54 0b 16 00 54 | 0c ca 00 00 03 01 03 b6 |...T...T|........|
|00000e90| 00 00 0a 01 06 52 00 0c | 20 20 31 5f 5f 5f 5f 5f |.....R..| 1_____|
|00000ea0| 32 20 20 20 00 00 09 01 | 06 52 00 0a 20 35 2f 5f |2 ....|.R.. 5/_|
|00000eb0| 5f 5f 5f 2f 7c 20 00 00 | 09 01 06 52 00 0a 20 7c |___/| ..|...R.. ||
|00000ec0| 20 7c 20 20 7c 36 7c 20 | 00 00 0a 01 06 52 00 0c | | |6| |.....R..|
|00000ed0| 20 7c 34 7c 5f 5f 7c 5f | 7c 33 20 20 00 00 08 01 | |4|__|_||3 ....|
|00000ee0| 06 52 00 08 20 7c 2f 5f | 5f 5f 7c 2f 00 00 08 01 |.R.. |/_|__|/....|
|00000ef0| 06 52 00 08 20 38 20 20 | 20 20 37 20 00 00 08 01 |.R.. 8 | 7 ....|
|00000f00| 00 0c 00 00 06 00 63 6f | 6f 72 64 73 00 00 07 03 |......co|ords....|
|00000f10| 04 04 00 00 00 3e 00 00 | 00 08 00 00 07 01 06 52 |.....>..|.......R|
|00000f20| 00 06 20 43 55 42 45 20 | 00 00 12 03 04 04 00 00 |.. CUBE |........|
|00000f30| ff ca 00 3e 00 00 00 64 | 00 5c ff ca 00 3e 00 00 |...>...d|.\...>..|
|00000f40| 00 64 00 5c ff ca 00 3e | 00 00 00 64 00 00 11 03 |.d.\...>|...d....|
|00000f50| 04 04 00 00 00 3e 00 00 | 00 64 00 5c ff ca 00 3e |.....>..|.d.\...>|
|00000f60| 00 00 00 64 00 5c ff ca | 00 3e 00 00 00 64 00 00 |...d.\..|.>...d..|
|00000f70| 10 03 04 04 00 00 00 3e | 00 00 00 64 00 5c ff ca |.......>|...d.\..|
|00000f80| 00 3e 00 00 00 64 00 5c | 00 3e 00 00 00 64 00 00 |.>...d.\|.>...d..|
|00000f90| 11 03 04 04 00 00 ff ca | 00 3e 00 00 00 64 00 5c |........|.>...d.\|
|00000fa0| ff ca 00 3e 00 00 00 64 | 00 5c 00 3e 00 00 00 64 |...>...d|.\.>...d|
|00000fb0| 00 00 11 03 04 04 00 00 | ff ca 00 3e 00 00 00 64 |........|...>...d|
|00000fc0| 00 5c 00 3e 00 00 00 64 | 00 5c ff ca 00 3e 00 00 |.\.>...d|.\...>..|
|00000fd0| 00 64 00 00 10 03 04 04 | 00 00 00 3e 00 00 00 64 |.d......|...>...d|
|00000fe0| 00 5c 00 3e 00 00 00 64 | 00 5c ff ca 00 3e 00 00 |.\.>...d|.\...>..|
|00000ff0| 00 64 00 00 0f 03 04 04 | 00 00 00 3e 00 00 00 64 |.d......|...>...d|
|00001000| 00 5c 00 3e 00 00 00 64 | 00 5c 00 3e 00 00 00 64 |.\.>...d|.\.>...d|
|00001010| 00 00 10 03 04 04 00 00 | ff ca 00 3e 00 00 00 64 |........|...>...d|
|00001020| 00 5c 00 3e 00 00 00 64 | 00 5c 00 3e 00 00 00 64 |.\.>...d|.\.>...d|
|00001030| 00 00 02 00 00 00 08 01 | 00 0c 00 00 06 00 6c 69 |........|......li|
|00001040| 6e 65 73 00 00 00 07 03 | 04 04 00 00 00 3e 00 00 |nes.....|.....>..|
|00001050| 00 0c 00 00 07 01 06 52 | 00 06 20 43 55 42 45 20 |.......R|.. CUBE |
|00001060| 00 00 0b 03 04 04 00 00 | 00 3e 00 00 00 01 00 5c |........|.>.....\|
|00001070| 00 3e 00 00 00 02 00 00 | 0b 03 04 04 00 00 00 3e |.>......|.......>|
|00001080| 00 00 00 02 00 5c 00 3e | 00 00 00 03 00 00 0b 03 |.....\.>|........|
|00001090| 04 04 00 00 00 3e 00 00 | 00 03 00 5c 00 3e 00 00 |.....>..|...\.>..|
|000010a0| 00 04 00 00 0b 03 04 04 | 00 00 00 3e 00 00 00 04 |........|...>....|
|000010b0| 00 5c 00 3e 00 00 00 01 | 00 00 0b 03 04 04 00 00 |.\.>....|........|
|000010c0| 00 3e 00 00 00 05 00 5c | 00 3e 00 00 00 06 00 00 |.>.....\|.>......|
|000010d0| 0b 03 04 04 00 00 00 3e | 00 00 00 06 00 5c 00 3e |.......>|.....\.>|
|000010e0| 00 00 00 07 00 00 0b 03 | 04 04 00 00 00 3e 00 00 |........|.....>..|
|000010f0| 00 07 00 5c 00 3e 00 00 | 00 08 00 00 0b 03 04 04 |...\.>..|........|
|00001100| 00 00 00 3e 00 00 00 08 | 00 5c 00 3e 00 00 00 05 |...>....|.\.>....|
|00001110| 00 00 0b 03 04 04 00 00 | 00 3e 00 00 00 01 00 5c |........|.>.....\|
|00001120| 00 3e 00 00 00 05 00 00 | 0b 03 04 04 00 00 00 3e |.>......|.......>|
|00001130| 00 00 00 02 00 5c 00 3e | 00 00 00 06 00 00 0b 03 |.....\.>|........|
|00001140| 04 04 00 00 00 3e 00 00 | 00 03 00 5c 00 3e 00 00 |.....>..|...\.>..|
|00001150| 00 07 00 00 0b 03 04 04 | 00 00 00 3e 00 00 00 04 |........|...>....|
|00001160| 00 5c 00 3e 00 00 00 08 | 00 00 41 6d 42 73 00 00 |.\.>....|..AmBs..|
+--------+-------------------------+-------------------------+--------+--------+